package edu.scau.divineplace.entity.vo.commentscore;

import edu.scau.divineplace.entity.dos.CommentScoreDO;
import edu.scau.divineplace.entity.dos.UserDO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author: x1aolone
 * @Date: 2020/12/11 16:00
 * 内容的评分VO
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel("ContentScoreVO")
public class ContentScoreVO {

    @ApiModelProperty("总评分")
    private Double score;

    @ApiModelProperty("每类评分(1/2/3/4/5)的打分人数")
    private List<CommentScoreGroupVO> scoreGroup;

}
